﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Group16.Class_Library;

namespace Group16.Controller
{
    public partial class baseSearchForm : Form
    {
        public baseSearchForm()
        {
            InitializeComponent();
        }
        protected virtual void Search()
        {
//ưewqeqwewq
        }
        private void btnSearch_Click(object sender, EventArgs e)
        {
            Search();
        }

        private void btnClear_Click(object sender, EventArgs e)
        {
            ClearData();
        }
        protected virtual void ClearData()
        {
            gridDetail.DataSource = null;
        }
        protected virtual void CellMouseDown(DataGridViewCellMouseEventArgs e)
        {
            //
        }
        private void gridDetail_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e)
        {
            CellMouseDown(e);
        }
    }
}
